﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UpdateDbLogWatch
{
    public partial class ScriptInfoFrom : Form
    {
        private static ScriptInfoFrom from;

        public ScriptInfoFrom()
        {
            InitializeComponent();
        }

        public static void ShowScriptInfo(string script)
        {
            if (null == from)
            {
                from = new ScriptInfoFrom();
            }
            from.scriptTxt.Text = script;
            from.ShowDialog();
        }

        private void okBtn_Click(object sender, EventArgs e)
        {
            from.Close();
        }
    }
}
